using System;
using System.Collections.Generic;
using System.Text;

namespace Coriander.Xmpp
{
    /// <summary>
    /// 
    /// </summary>
    public interface IConnectionPolicy
    {
        /// <summary>
        /// Gets a string that instructs xmpp server to begin streaming.
        /// </summary>
        /// <returns></returns>
        String GetStreamStartHeader(String host);

        /// <summary>
        /// Gets a string that instructs xmpp server to begin streaming.
        /// </summary>
        /// <returns></returns>
        String GetStreamStartHeader(
            String host,
            Object version,
            String language
        );
    }
}
